package org.lds.ers.server.model;

import java.util.Date;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.appengine.api.users.User;

//代表之聯會的 ERS專員
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class WardERS {

    @PrimaryKey
    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
    private Long id;

    @Persistent
    private Long wardID; //支會編號
    
    @Persistent
    private String userID; //專員的使用者ID
    
    @Persistent
    private String realName;
    
    public WardERS(Long wardID, String userID, String realName)
    {
    	this.wardID = wardID;
    	this.userID = userID;
    	this.realName = realName;
    }
    
    public void setWardID(Long wardID)
    {
    	this.wardID = wardID;
    }
    public Long getWardID()
    {
    	return this.wardID ;
    }
    
    public void setUserID(String userID)
    {
    	this.userID = userID;
    }
    public String getUserID()
    {
    	return this.userID ;
    }

    public void setRealName(String realName)
    {
    	this.realName = realName;
    }
    public String getRealName()
    {
    	return this.realName ;
    }
    
    public void setID(Long id)
    {
    	this.id = id;
    }
    public Long getID()
    {
    	return this.id ;
    }
}
